﻿namespace WindowsTheme.Helper
{
    internal class StaticValue
    {
        private static string tempPath = ".\\Temp\\";
        private static string binPath = ".\\Bin\\";
        private static string Win7ForBIN = BinPath + "Win7\\";
        private static string win7SucessTheme = TempPath + "Sucess\\";
        private static string themePath = tempPath + "Theme\\";
        private static bool printFlag = true;
        private static string printLogPath = TempPath + "Runlog.txt";
        private static string themeFloder = ThemePath + "Default\\";
        private static string themeImgFloder = ThemeFloder + "DesktopBackground\\";
        private static bool JumpFlag = false;
        private static int transparency = 100;
        private static int colorR = 128;
        private static int colorG = 255;
        private static int colorB = 128;
        private static int interval = 1800;
        private static string CopyrightPath = binPath + "Copyright.txt";
        private static string CopyrightUserName = binPath + "CopyrightUserName.txt";
        /// <summary>
        /// 缓存数据的路径
        /// </summary>
        public static string TempPath { get => tempPath; set => tempPath = value; }
        /// <summary>
        /// 是否写入日志
        /// </summary>
        public static bool PrintFlag { get => printFlag; set => printFlag = value; }

        /// <summary>
        /// 写入日志的路径
        /// </summary>
        public static string PrintLogPath { get => printLogPath; set => printLogPath = value; }
        /// <summary>
        /// 放置所有主题文件的路径
        /// </summary>
        public static string ThemePath { get => themePath; set => themePath = value; }
        /// <summary>
        /// 当前 新创建的主题的路径，取textbox1的值，但是如果没有则放在初始路径下。
        /// </summary>
        public static string ThemeFloder { get => themeFloder; set => themeFloder = value; }
        /// <summary>
        /// 决定对不符合预期的图片，是否进行删除  如果删除返回true
        /// </summary>
        public static bool JumpFlag1 { get => JumpFlag; set => JumpFlag = value; }
        /// <summary>
        /// 新创建的主题，放置图片的文件夹
        /// </summary>
        public static string ThemeImgFloder { get => themeImgFloder; set => themeImgFloder = value; }
        /// <summary>
        /// 放置资源文件的索引
        /// </summary>
        public static string BinPath { get => binPath; set => binPath = value; }
        /// <summary>
        /// win7主题数据文件夹 
        /// </summary>
        public static string Win7ForBIN1 { get => Win7ForBIN; set => Win7ForBIN = value; }
        /// <summary>
        /// 做好的win主题放置的文件夹
        /// </summary>
        public static string Win7SucessTheme { get => win7SucessTheme; set => win7SucessTheme = value; }
        /// <summary>
        /// 主题的默认透明度为100  最高为255
        /// </summary>
        public static int Transparency { get => transparency; set => transparency = value; }
        /// <summary>
        /// 颜色 R
        /// </summary>
        public static int ColorR { get => colorR; set => colorR = value; }
        /// <summary>
        /// 颜色G
        /// </summary>
        public static int ColorG { get => colorG; set => colorG = value; }
        /// <summary>
        /// 颜色B
        /// </summary>
        public static int ColorB { get => colorB; set => colorB = value; }
        /// <summary>
        /// 壁纸自动切换的时间间隔。
        /// </summary>
        public static int Interval { get => interval; set => interval = value; }
        /// <summary>
        /// 版权信息存放的路径
        /// </summary>
        public static string CopyrightPath1 { get => CopyrightPath; set => CopyrightPath = value; }
        public static string CopyrightUserName1 { get => CopyrightUserName; set => CopyrightUserName = value; }
    }
}